        <layout name="Recomlist/default" />
<div class="col-md-offset-1 col-md-10">
    <div class="panel panel-default">
        <div class="panel-heading">
            <h5>返利比例记录</h5>
        </div>
        <div class="panel-body">
            <table class="table table-bordered">
                <tr>
                    <td>会员名称</td>
                    <td>返利比例 </td>
                    <td>邀请</td>
                    <td>消费</td>
                    <td>首次注册奖励</td>
                    <td>剩余奖励时间</td>
                    <td>首次购物奖励</td>
                    <td>剩余奖励时间</td>
                    <td>记录时间</td>
                    <td>操作</td>
                </tr>
                <foreach item="rates" name="rate">
                    <td>{$rate.user_id}</td>
                    <td>{$rate.rate}</td>
                    <td>{$rate.invite_add}</td>
                    <td>{$rate.cost_add}</td>
                    <td>{$rate.zhuce_percent}</td>
                    <td>{$rate.zhuce_days}</td>
                    <td>{$rate.gouwu_percent}</td>
                    <td>{$rate.gouwu_days}</td>
                    <td>{$rate.create_at}</td>
                    <td>查看</td>  
                </foreach>               
            </table>
        </div>
    </div>
</div>
